.nav {
  height: 0.6rem;
  display: flex;
  font-size: 0.28rem;
  justify-content: space-between;
}
.nav a {
  text-decoration: none;
  line-height: 0.6rem;
  margin: 0 0.1rem;
}

.my_form {
  font-size: 0.28rem;
  margin: 0.2rem 0.1rem;
  padding-bottom: 0.4rem;
  display: flex;
  flex-direction: column;
  background-color: #eee;
  animation: move_in_r 500ms;
}

.my_form .title {
  font-size: 0.32rem;
  line-height: 1rem;
  text-align: center;
  color: #fff;
  background-color: #606266;
  margin-bottom: 0.2rem;
}

.my_form input {
  padding: 0 0.14rem;
  margin: 0.15rem 0.1rem;
  height: 0.8rem;
  box-sizing: border-box;
  border: none;
}
.my_form input:focus {
  border-bottom: 1px solid #409EFF;
}
.my_form .btn {
  font-size: 0.28rem;
  background-color: #409EFF;
  color: #fff;
  opacity: 0.8;
}
.my_form .btn:active {
  opacity: 1;
}

.my_form .wamming {
  border-bottom: 1px solid #F56C6C;
}

.tooltip {
  color: #fff; 
  font-size: 0.28rem;
  line-height: 20vh;
  text-align: center;
  position: absolute;
  background-color: rgba(0, 0, 0, 0.6);
  width: 50vw;
  height: 20vh;
  left: 25vw;
  top: 40vh;
  animation: fade-in 1000ms;
}

@keyframes fade-in {
  from {opacity: 0;}
  to {opacity: 1;}
}

@keyframes move_in_r {
  from {transform: translateX(100%);}
  to {transform: translateX(0);}
}

@media all and (min-width: 1260px) {
  .nav {
    width: 10rem;
    height: 0.6rem;
    font-size: 0.2rem;
    margin: 0 auto;
  }
  
  .my_form {
    width: 10rem;
    font-size: 0.18rem;
    margin: 0.2rem auto;
    padding-bottom: 0.2rem;
  }
  
  .my_form .title {
    font-size: 0.24rem;
    line-height: 0.6rem;
  }
  
  .my_form input {
    padding: 0 0.14rem;
    margin: 0.15rem 0.1rem;
    height: 0.6rem;
  }
  .my_form .btn {
    font-size: 0.18rem;
    color: #fff;
    cursor: pointer;
  }
  .my_form .btn:hover {
    opacity: 1;
  }
  
  .tooltip {
    color: #fff; 
    font-size: 0.18rem;
    line-height: 2rem;
    width: 3rem;
    height: 2rem;
    left: 50%;
    top: 50%;
    transform: translate(-50%, -50%);
  }
}